<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="org.lsms.dao.impl.*"  %>
<%@ page import="org.lsms.bean.*"  %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>LSMS | Important notices</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="lsms,icsee,index,home">
	
	<link rel="stylesheet" href="../css/index_layout.css" type="text/css" />
	<link rel="stylesheet" href="../css/hyper_link_style.css" type="text/css" />

  </head>
  
  <body>
  <%
  	DaoImpl impl = new DaoImpl();
  	HashMap<String,Integer> hm = impl.get_site_setting();
  	int user_register = hm.get("user_register");
  	//System.out.println(user_register);
   %>
	<div id="container">
		<div id="header" class="logo_image">
		
		</div>
		
		
		<div class="nav"></div>
		
		<div id="menu" class="menu_color border">
			<table border="0" width="100%"  >
				<tr>
					<td  bgcolor="#CCCCCC"><a href="../index.jsp">Home</a> <img src="../include/image/new.gif" /></td>
				</tr>
				<%
					Object per = session.getAttribute("permission");
					if(per==null){
					
				 %>
				<tr>						
					<td><a href="../login.jsp">My Workspace</a></td>
				</tr>
				<%
					}else{
						int permission = Integer.parseInt(per.toString());
						switch(permission){
						case 0:	
				%>
				<tr>						
					<td><a href="../chair/chair_show_info.jsp">My Workspace</a></td>
				</tr>
				<%
					break;
					case 1:
				 %>
				<tr>						
					<td><a href="../member/member_show_info.jsp">My Workspace</a></td>
				</tr>
				<%
					break;
					case 2:
				 %>
				<tr>						
					<td><a href="../reviewer/reviewer_show_info.jsp">My Workspace</a></td>
				</tr>
				<%
					break;
					case 3:
				 %>
				<tr>						
					<td><a href="../author/author_show_info.jsp">My Workspace</a></td>
				</tr>
				<%
					break;
					case 4:
				 %>
				<tr>						
					<td><a href="../admin/admin_show_info.jsp">My Workspace</a></td>
				</tr>
				<%
					break;
					}
					}
				 %>
				<tr>
					<td  bgcolor="#CCCCCC"><a href="important_notice.jsp">Notice & News</a><img src="../include/image/new.gif" /></td>
				</tr>
				<tr>
					<td><a href="organisation.jsp">Organization</a></td>
				</tr>
				<tr>
					<td><a href="call_for_paper.jsp">Call for Papers</a></td>
				</tr>
				<tr>
					<td><a href="call_for_ssp.jsp">Call for SSP</a></td>
				</tr>
				<tr>
					<td><a href="plenary_and_keynote.jsp">Plenary and Keynote</a></td>
				</tr>
				<tr>
					<td><a href="author_kit.jsp">Author's Kit</a></td>
				</tr>
				<tr>
					<td><a href="special_session.jsp">Special Session</a></td>
				</tr>
				<tr>
					<td><a href="important_date.jsp">Important Dates</a></td>
				</tr>	
				<tr>
					<td><a href="conference_venue.jsp">Conference Venue</a><img src="../include/image/new.gif" /></td>
				</tr>
				<tr>						
					<td><a href="transportation.jsp">Transportation</a><img src="../include/image/new.gif" /></td>
				</tr>
				<tr>	
					<td><a href="http://www.expo2010.cn" target='blank'>Expo2010</a><img src="../include/image/new.gif" /></td>
				</tr>

				<tr>
					<td><a href="">Tutorial</a></td>
				</tr>
				<tr>
					<td><a href="contact_person.jsp">Contact Persons</a></td>						
				</tr>
				<tr>						
					<td><a href="">LSMS2007</a></td>
				</tr>
			</table>
		</div>
		

		
		<div id="content" class="bg_color border" style="height:555px">
			<div style="margin:15px">
			<p align='left'><font size='3px'>Home→news</font></p>
			<br>
				<div style="margin:15px">
				<%
					int news_id = Integer.parseInt(request.getParameter("news_id"));
					News news = impl.get_news_info(news_id);
					String content = news.getNews_content();
					//out.print(content);
				 %>
				 <p align='left'><font size='4px'><%=content%></font></p>
				<br>
				<br>
				<p align='right'><%=news.getNews_release_date()%></p>
				</div>
				<a href="javascript:history.back(-1)">Back</a>
			</div>
		</div>
	
		<div id="date_bar">	
			<b><font size="3px">You are the </font></b>
			<script type="text/javascript" src="http://www.zzsky.cn/service/count/count.asp?user=judezhan"></script>	
			<b><font size="3px">th visitors!</font></b>
		</div>
	
		<div class="nav"></div>
		
		<div id="footer" class="footer_color border">
			<p align="center"><b>&copy;2010 LSMS-All Rights Reserved.</b></p>
			<p align="center"> <b>Powered by Shu.</b></p>
		</div>
	</div>
</body>
</html>
